package com.by.service.purchase;

import com.baomidou.mybatisplus.extension.service.IService;
import com.by.common.bean.PageBean;
import com.by.condition.purchase.PurchaseCondition;
import com.by.entity.purchase.Purchase;

public interface PurchaseService extends IService<Purchase> {
    /**
     * 查询采购单列表
     * @param condition
     * @return
     */
    PageBean query(PurchaseCondition condition);

    /**
     * 根据采购申请单id查询详情
     * @param id
     * @return
     */
    Purchase queryDetail(String id);
}
